home *** CD-ROM | disk | FTP | other *** search
- Path: nntp1.best.com!usenet
- From: javaprog@best.com (John Lockwood)
- Newsgroups: comp.lang.c++
- Subject: Re: stream question
- Date: Sat, 20 Apr 1996 02:13:29 GMT
- Organization: Best Internet Communications
- Message-ID: <4l9h8s$k6j@nntp1.best.com>
- References: <NEWTNews.829954661.22104.ger@kayak.fsl.wvnet.edu>
- NNTP-Posting-Host: javaprog.vip.best.com
- X-Newsreader: Forte Free Agent 1.0.82
-
- George Racin <george@gypsy.fsl.wvnet.edu> wrote:
-
-
- >If name is equal to "Ben Eric Smith" and is on one line of an ASCII text file
- >and I have the following code, how do I get the entire line into name, rather
- >than just "Ben".
-
- Check out ifstream::getline() in online help or wherever.
- Regards,
-
-
-
- John Lockwood
- john@wwg.com
- javaprog@best.com
- http://www.best.com/~javaprog
-
-